using JiravaNet.Web.UI.Fieldset;

namespace JiravaNet.Web.UI.Fieldset {
	//using m = MvcContrib.UI.Tags;
	//public class a {
	//  public void b() {
	//    var fh = new FormHelper();
	//    var a = fh.Select();
	//  }
	//}
	/// <summary>
	/// Interface pro builder zpracovavajici formularove polozky
	/// </summary>
	public interface IFieldsetBuilder {

		/// <summary>
		/// Vytvori novou polozku a prevezme jeji definici 
		/// </summary>
		/// <param name="header">Nadpisek polozky</param>
		/// <param name="name">oznaceni formularove polozky</param>
		/// <returns>Fluent interface</returns>
		IFieldsetControlBuilder For(string header, string name);

		/// <summary>
		/// Vytvori novou polozku a prevezme jeji definici 
		/// </summary>
		/// <param name="value">Hodnota polozky</param>
		/// <returns>Fluent interface</returns>
		IFieldsetSimpleItemBuilder For(string value);

	}
}